<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>迎“双11”，抽大奖 低价爆款秒不停，全场99元减20！_淘嘟嘟</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/zhuanpan/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/zhuanpan/layout.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
    <script type="text/javascript" src="__JQ__"></script>
    <script src="__PUBLIC__/zhuanpan/awardRotate.js"></script>
    <script type="text/javascript" src="__JS__/layer.js"></script>

</head>
<body>
<!--用户登陆-->
<include file="Public/alert_login" />

<div class="banner"></div>
<div class="act">
    <div class="con-center">
        <div class="left">
            <div class="demo_bj">
                <div id="demo">
                    <div id="demo1"></div>
                    <div id="demo2"></div>
                </div>
            </div>
            <script>
            	var  speed = 30
            	demo2.innerHTML = demo1.innerHTML //克隆demo1为demo2
            	function  Marquee() {
                    if(demo2.offsetHeight - demo.scrollTop <= 0) //当滚动至demo1与demo2交界时
                        demo.scrollTop -= demo1.offsetHeight //demo跳到最顶端
            		else {
                        demo.scrollTop++   //如果是横向的 将 所有的 height top 改成 width left
            		}
                }
            	var  MyMar = setInterval(Marquee, speed) //设置定时器
            	demo.onmouseover = function()  {
                    clearInterval(MyMar)
            		} //鼠标移上时清除定时器达到滚动停止的目的
            	demo.onmouseout = function()  {
                    MyMar = setInterval(Marquee, speed)
            		} //鼠标移开时重设定时器
            </script>
            <div class="rule">
                <p style="background:url(__PUBLIC__/zhuanpan/p1_bg.png) no-repeat">2016年11月7日9:00——11月11日24:00期间成功下单的用户即可参与抽奖；订单时间以“淘嘟嘟”商城显示的下单时间为准。</p>
                <p style="background:url(__PUBLIC__/zhuanpan/p2_bg.png) no-repeat">每个有效订单可获得1次抽奖机会，订单越多，抽奖机会越多。</p>
                <p style="background:url(__PUBLIC__/zhuanpan/p3_bg.png) no-repeat">活动禁止作弊，一经发现，取消中奖资格。</p>
            </div>
            <p class="notes" style="background-color:#f9359a; width:270px;">“淘嘟嘟”商城将在活动结束后7个</p>
            <p class="notes" style="background-color:#c91270; width:366px;">工作日内，将奖品寄送至您订单填写的收货地址。</p>
        </div>
        <div class="right">
            <div class="wrapper-table">
                <div class="turntable-bg">
                    <div class="pointer"><img src="__PUBLIC__/zhuanpan/pointer.png" alt="pointer"/></div>
                    <div class="rotate"><img id="rotate" src="__PUBLIC__/zhuanpan/rotate.png" alt="turntable"/></div>
                </div>
                <div class="text-infor">
                    <div class="chance">您还有&nbsp;<span>0</span>&nbsp;次抽奖机会</div>
                    <a class="btn" href="#enter">再来一次</a>
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>

<div class="main">
    <div class="box">
        <div class="box-main">
        <br>
        <br>
        <ul class="double_com_list double_com_list3">
            <li>
                <a href="0"><img src="__PUBLIC__/zhuanpan/this_11_l_10.png"/></a>
            </li>
            <li>
                <a href="1"><img src="__PUBLIC__/zhuanpan/this_11_l_12.png"/></a>
            </li>
            <li>
                <a href="2"><img src="__PUBLIC__/zhuanpan/this_11_l_14.png"/></a>
            </li>
            <li>
                <a href="3"><img src="__PUBLIC__/zhuanpan/this_11_l_18.png"/></a>
            </li>
            <li>
                <a href="4"><img src="__PUBLIC__/zhuanpan/this_11_l_19.png"/></a>
            </li>
            <li>
                <a href="7"><img src="__PUBLIC__/zhuanpan/this_11_l_20.png"/></a>
            </li>
        </ul>
        </div>
    </div>
</div>
<div class="footer">© 2014-2016 淘嘟嘟 版权所有，并保留所有权利。 河南省电子商务产业园 Tel: 4000371775 <br/>E-mail: <a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="89faecffecfbc9fde8e6edfcedfca7eae6e4">[email&#160;protected]</a><script data-cfhash='f9e31' type="text/javascript">/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */</script> QQ: 273478097</div>
<script type="text/javascript">
    $(function() {
        $(".act .left .rule p:nth-child(2n)").css("margin-left", "36px");
    });
	$(function() {
        $(".main .content .wrap a.type-two:nth-child(2n)").css("float", "right");
    });
</script>
<div style="display:none;">
    <script type="text/javascript">
    	var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    	document.write(unescape("%3Cspan id='cnzz_stat_icon_1258725204'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1258725204%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
    </script>
</div>


</body>
</html>
<script>
    $(function() {
        var rotateTimeOut = function() {
            $('#rotate').rotate({
                angle: 0,
                animateTo: 2160,
                duration: 8000,
                callback: function() {
                    alert('网络超时，请检查您的网络设置！');
                }
            });
        };
        var bRotate = false;

        var rotateFn = function(awards, angles, txt) {
            bRotate = !bRotate;
            $('#rotate').stopRotate();
            $('#rotate').rotate({
                angle: 0,
                animateTo: angles + 1800,
                duration: 8000,
                callback: function() {
                    layer.open({
                        content: txt
                    });
                    bRotate = !bRotate;
                }
            })
        };

        $('.pointer').click(function() {
            if(bRotate) return;
            $.get('{:U("wheelApi")}', function(data) {
                switch(data * 1) {
                    //case 1:
                    //rotateFn(1, 22, '<div class="prize">恭喜您获得</div></br>10元平台无门槛现金券<div class="wechat"><img src="images/10ywmk.png" /><p>二维码仅限本人一分钟内扫描领取</p></div>');
                    //$(".chance span").html($(".chance span").html() * 1 - 1);
                    //break;
                    case 3:
                        rotateFn(3, 250, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_09.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                    case 5:
                        rotateFn(5, 160, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_09.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                    case 4:
                        rotateFn(4, 68, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_09.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                    case 8:
                        rotateFn(8, 338, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_09.jpg" /></a></div>');
                        break;
                    case 2:
                        rotateFn(2, 205, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_05.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                    case 6:
                        rotateFn(6, 110, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/zhuanpan/jiang_03.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                    case 401:
                        layer.msg('您的抽奖机会已经用完！购买一款产品增加一次机会！');
                        break;
                    case 402:
                        layer.msg('您还未登录，请登录后再操作！');
                        $("#pop-mask").show();
                        break;
                    case 403:
                        layer.msg('活动已经结束或未开始！');
                        break;
                    case 404:
                        layer.msg('今天抽奖还未开始哦，请10点以后再来！');
                        break;
                    case 406:
                        layer.msg('今天抽奖已经结束喽，明天还有哦！');
                        break;
                    default:
                        rotateFn(8, 338, '<div class="wechat"><a href="http://www.taodudu.com/topic.php?topic_id=64"><img src="__PUBLIC__/ceshi/jiang_09.jpg" /></a></div>');
                        $(".chance span").html($(".chance span").html() * 1 - 1);
                        break;
                }

            });
        });
    });
</script>
<script type="text/javascript">
	var href_url = [
    "http://www.taodudu.com/topic.php?topic_id=64", //主会场
    "http://www.taodudu.com/topic.php?topic_id=61", //零食
    "http://www.taodudu.com/topic.php?topic_id=57", //水果
    "http://www.taodudu.com/topic.php?topic_id=60", //母婴
    "http://www.taodudu.com/topic.php?topic_id=63", //美妆
    "http://www.taodudu.com/topic.php?topic_id=58", //百货
    "http://www.taodudu.com/topic.php?topic_id=59", //坚果
    "http://www.taodudu.com/topic.php?topic_id=53", //生鲜
];
	$(function() {
        $(".double_com_list").find("li").each(function() {
            var href = Number($(this).find("a").attr("href"));
            $(this).find("a").attr("href", href_url[href]);
		})
	})
</script>